#include <iostream.h>
class Number{
	int n;
public:
	friend Number &operator--(Number &o);
	friend Number &operator--(Number o,int); 
	Number(int x):n(x){}
	Number& operator++()
	{ 
		++n; 	
		return *this; 
	}
	Number& operator++(int)
	{
		n++; return *this; 
	}
	void display()
	{
		cout<<"This Number is:  "<<n<<endl;
	}
};
Number &operator--(Number &o)
{
	--o.n; 
	return o; 
}
Number &operator--(Number o,int)
{ 
	o.n--; 
	return o; 
}
void main()
{
	Number N1(10);
	++ ++ ++N1;
	N1.display();
	N1++;
	N1.display();
	--N1;
	N1.display();
	N1-- -- --;
	N1.display();
}
